package com.tem.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_tag")
@ApiModel(value="ProductTag对象", description="")
public class ProductTag implements Serializable {
    private static final long serialVersionUID=878987934342001L;
    @ApiModelProperty(value = "在产品 管理可以新增标签")
    @TableId(value = "product_tag_id", type = IdType.AUTO)
    private Long productTagId;

    @ApiModelProperty(value = "评论标签")
    @TableField("product_id")
    private Long productId;

    @ApiModelProperty(value = "标签内容")
    @TableField("tag_value")
    private String tagValue;

    @ApiModelProperty(value = "被评论次数")
    @TableField("tag_count")
    private Integer tagCount;


}
